package cn.com.dycc.party_work.education_result_dept.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.com.dycc.party_work.education_result_dept.entity.EducationResultDept;
import cn.com.dycc.party_work.education_result_dept.entity.EducationResultDeptInfo;
import cn.com.dycc.party_work.education_result_dept.param.EducationResultDeptParam;

/**
 * 
 * Description: 党组织学习反馈结果
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年7月3日 下午7:39:59.
 * Update Date Time: 
 * @see
 */
@Repository("educationResultDeptDao")
public interface EducationResultDeptDao {
	
	int addEduResultDept(EducationResultDept eduResult);
	
	EducationResultDept findEduResultDept(
			@Param("result_id")String result_id,
			@Param("org_id")String org_id);
	
	List<EducationResultDeptInfo> findEduResultDeptByParam(EducationResultDeptParam param);	
	String findEduResultDeptCount(EducationResultDeptParam param);
	
	int deleteEduResultDept(
			@Param("org_id")String org_id,
			@Param("list")List<String> list);
		
}
